/*
 * ReadMixture.hpp
 *
 *  Created on: 7 gru 2013
 *      Author: rkrawczy135
 */

#ifndef READMIXTURE_HPP
#define READMIXTURE_HPP

#include "common.hpp"
#include <list>
#include <iostream>
#include <fstream>
#include <sstream>
#include <ctype.h>
#include <algorithm>
//#include "ParseException.hpp"
#include <exception>

namespace readmixture
{
class ReadMixture
{
public:
	ReadMixture();
	~ReadMixture();
//reading mixture from a file
//returns mixture- vactor of markers
	std::vector<dna::marker> parseMixFromFile(std::string fileName,unsigned int howManyPeople);
//reading profile from file- invoked 2 or 3 times depenging on amount
//of people to investigate 
	dna::profile parseProFromFile(std::string fileName);
	//check if a profile can be in a mixture
	bool checkProfileInMixture(std::vector<dna::marker> mixture, dna::profile);
};

} /* namespace readmixture */

#endif /* READMIXTURE_HPP */
